/* -----------------------------------------------------------------------------
 * PROJECT    : net.lwf
 * FILE       : ArrayUtil.java
 *
 * HISTORY:
 * Date          Author                        Description
 * ----------------------------------------------------------------------------- 
 * Apr 21, 2009  Raghu Sarraff	 		        Created
 */
package net.lwf.handler.math.arrays;

import net.lwf.number.util.RandomNumberGenerator;

public class ArrayUtil {
	
	/**
	 * Generates arrays based on grade level.
	 * 
	 * @param grade
	 * @return
	 */
	public static DataArray generateArray(int grade) {
		int rows = RandomNumberGenerator.generate(2, 10);
		int columns = RandomNumberGenerator.generate(2, 10);
		return new DataArray(rows, columns);
	}

} //ArrayUtil

